#ifndef DBCONNECTION_H
#define DBCONNECTION_H

#include <QObject>

class DBConnection
{
public:
    DBConnection();
    void setHost(QString host);
    void setPort(QString port);
    void setUser(QString user);
    void setPassword(QString password);
    void setName(QString name);
    void setType(uint8_t type);

    QString getHost();
    QString getPort();
    QString getUser();
    QString getPassword();
    QString getName();
    uint8_t getType();

private:
    QString m_name;
    QString m_host;
    QString m_port;
    QString m_user;
    QString m_password;
    uint8_t m_type;

};

#endif // DBCONNECTION_H
